package com.guigu.buy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
@TableName("purchase_order")
public class PurchaseOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer purchaseOrderNum;

    private Integer supplierId;

    private Double purchaseOrderAmount;

    private String register;

    private String checker;

    private LocalDateTime checkTime;

    private String checkReason;

    private LocalDateTime purchaseOrderTime;

    private String checkTag;

    private String payMethod;

    private String gatherTag;

    private String conveyTag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPurchaseOrderNum() {
        return purchaseOrderNum;
    }

    public void setPurchaseOrderNum(Integer purchaseOrderNum) {
        this.purchaseOrderNum = purchaseOrderNum;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Double getPurchaseOrderAmount() {
        return purchaseOrderAmount;
    }

    public void setPurchaseOrderAmount(Double purchaseOrderAmount) {
        this.purchaseOrderAmount = purchaseOrderAmount;
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker;
    }

    public LocalDateTime getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(LocalDateTime checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckReason() {
        return checkReason;
    }

    public void setCheckReason(String checkReason) {
        this.checkReason = checkReason;
    }

    public LocalDateTime getPurchaseOrderTime() {
        return purchaseOrderTime;
    }

    public void setPurchaseOrderTime(LocalDateTime purchaseOrderTime) {
        this.purchaseOrderTime = purchaseOrderTime;
    }

    public String getCheckTag() {
        return checkTag;
    }

    public void setCheckTag(String checkTag) {
        this.checkTag = checkTag;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public String getGatherTag() {
        return gatherTag;
    }

    public void setGatherTag(String gatherTag) {
        this.gatherTag = gatherTag;
    }

    public String getConveyTag() {
        return conveyTag;
    }

    public void setConveyTag(String conveyTag) {
        this.conveyTag = conveyTag;
    }

    @Override
    public String toString() {
        return "PurchaseOrder{" +
            "id = " + id +
            ", purchaseOrderNum = " + purchaseOrderNum +
            ", supplierId = " + supplierId +
            ", purchaseOrderAmount = " + purchaseOrderAmount +
            ", register = " + register +
            ", checker = " + checker +
            ", checkTime = " + checkTime +
            ", checkReason = " + checkReason +
            ", purchaseOrderTime = " + purchaseOrderTime +
            ", checkTag = " + checkTag +
            ", payMethod = " + payMethod +
            ", gatherTag = " + gatherTag +
            ", conveyTag = " + conveyTag +
        "}";
    }
}
